class CreateFlashes < ActiveRecord::Migration
  def self.up
    create_table :flashes do |t|
    t.column :parent_id , :integer
    t.column :name ,:string
    t.column :description , :string
    t.column :filename , :string
    t.column :is_flash , :string
    t.column :channel_id , :integer
    end
  end

  def self.down
    drop_table :flashes
  end
end
